<!doctype html>
<html>
<head>
<?php $this->load->view('common_head'); ?>
<link href="<?php echo base_url(); ?>themes/manage/default/css/style.css?v=<?php echo UI_VERSION; ?>" rel="stylesheet" />
</head>
<body>
<div class="wrap">
	<?php $this->load->view('common_header'); ?>
	<div class="main_wrap">
		<div class="main cc">
			<div class="bread_crumb"> <a class="home" href="<?php echo base_url(); ?>" title="返回首页">首页</a><em>&gt;</em><a href="<?php echo site_url('manage/user/index'); ?>" title="我的控制面板">控制面板</a> </div>
			<!--<h1 class="manage_bread">控制面板</h1>-->
			<div class="cc manage_page">
				<div class="msidebar">
					<div class="menubar">
						<?php $this->load->view('manage/common_left'); ?>
					</div>
				</div>
				<div class="mbody">
					<div class="mcontent">
						<div class="box_wrap">
							<div class="content">
								<div class="content_nav">
									<?php
										$tabs_state = array('publish' => '', 'prepare' => '', 'expired' => '');
										$tabs_state[$state] = ' class="current"';
									?>
									<ul>
										<li<?php echo $tabs_state['publish']; ?>><a href="<?php echo site_url('manage/hire/index?state=publish'); ?>">已发布</a></li>
										<li<?php echo $tabs_state['prepare']; ?>><a href="<?php echo site_url('manage/hire/index?state=prepare'); ?>">待发布</a></li>
										<li<?php echo $tabs_state['expired']; ?>><a href="<?php echo site_url('manage/hire/index?state=expired'); ?>">已过期</a></li>
									</ul>
								</div>
								<div class="manage_ct">
									<h3 class="mb10">搜索</h3>
									<div class="search p5 mb10">
										<form method="post" action="<?php echo site_url('manage/broker/index'); ?>">
											<select class="select mr5" name="propertytype">
												<option value="-1">房屋类型</option>
												<option value="1">普通住宅</option>
												<option value="2">公寓</option>
												<option value="3">花园式洋房</option>
												<option value="4">酒店式公寓</option>
												<option value="5">商住两用</option>
												<option value="6">别墅</option>
												<option value="7">写字楼</option>
												<option value="8">商铺</option>
											</select>
											<select class="mr5" name="room[bedroom]">
												<option value="-1">户型</option>
												<option value="1">1</option>
												<option value="2">2</option>
												<option value="3">3</option>
												<option value="4">4</option>
												<option value="5">5</option>
												<option value="6">6</option>
												<option value="7">7</option>
												<option value="8">8</option>
												<option value="9">9</option>
											</select>
											<select class="mr5" name="">
												<option value="-1">价格</option>
												<option value="1">10万</option>
												<option value="2">20万</option>
												<option value="3">30万</option>
											</select>
											<label>标题：</label>
											<input type="text" name="title" class="input length_2 mr5" value="" />
											<label>房源编号：</label>
											<input type="text" name="house_id" class="input length_1 mr5" value="" />
											<button class="btn" type="submit">搜索</button>
										</form>
									</div>
									<form name="form" method="post" action="<?php echo site_url('manage/hire/index'); ?>" class="J_sale_index">
										<table class="posts_list mb10">
											<colgroup>
												<col width="50" />
												<col />
												<col width="130" />
												<col width="80" />
											</colgroup>
											<thead>
												<tr>
													<th class="tal">预览图</th>
													<th class="tal">信息标题 / 内容</th>
													<th class="tal">房源推广</th>
													<th class="tal">操作</th>
												</tr>
											</thead>
											<?php for($i=1; $i<=10; $i++) { ?>
											<tbody>
												<tr>
													<td class="thum"><img src="<?php echo base_url(); ?>res/images/face/ban_small.jpg" width="50" height="50" /></td>
													<td class="subject">
														<p class="title">
															<input type="checkbox" name="houseid" value="" />
															<a title="" class="st" href="">房源标题房源标题房源标题房源标题房源标题房源标题</a>
															<span class="post_icon"><i title="置顶" class="icon_top">置顶</i></span>
															<span class="post_icon"><i title="加急" class="icon_urgent">加急</i></span>
														</p>
														<p class="info">
															<span>石岐周边 - 清溪花园二期</span> 
															<span>商品房</span>
															<span>8年房龄</span>
															<span>第2层,共7层</span>
															<span>朝南</span>
															<span>普通住宅</span>
															<span>发布：admin</span>
															<span>更新：今天</span>
														</p>
													</td>
													<td>
														<p>加急至 2013-02-01</p>
														<p>置顶至 2013-02-01</p>
													</td>
													<td>
														<p><a class="mr5" href="">刷新</a><a href="">编辑</a></p>
														<p><a class="mr5" href="">加急</a><a href="">置顶</a></p>
													</td>
												</tr>
											<?php } ?>
											</tbody>
											<tfoot>
												<tr>
													<th></th>
													<th colspan="3" class="tal">
														<span class="mr5"><input type="checkbox" name="houseid" value="" /> 全选</span>
														<button type="submit" class="btn btn_submit mr5">下架</button>
														<button type="submit" class="btn btn_error">删除</button>
													</th>
												</tr>
											</tfoot>
										</table>
									</form>
									<div data-key="true" class="J_page_wrap mb20">
										<div class="pages"><strong>1</strong><a href="">2</a><a href="">3</a><a href="">4</a><a href="">...336</a><a class="pages_next J_pages_next" href="">下一页&nbsp;&raquo;</a></div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!--.main-wrap,#main End-->
	<?php $this->load->view('common_footer'); ?>
</div>
<script>
Wind.use('jquery', 'global');
</script>
</body>
</html>